package com.leadingsoft.web.document.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.multipart.MultipartFile;

@RestController
@RequestMapping(value = "/w/document/", produces = "text/plain;charset=UTF-8")
public class DocumentController {
	@RequestMapping("image/upload")
	public String upload(MultipartFile[] images) {
		System.out.println(images[0].getOriginalFilename());
		return "{'errno': 0," + "'data': ['图片1地址']}";
	}
}
